// See https://aka.ms/new-console-template for more information

ClassA a = new ClassA();
ClassB b = new ClassB();

Console.WriteLine(a.Method(5));
Console.WriteLine(b.Method(5));